From 46692d77fe7e13d11b386314b3d87f838bba1278 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Mon, 25 Aug 2008 07:33:47 +0000 Subject: [PATCH] =?utf8?q?xmlgeneric:=20Bj=C3=B6rn=20makes=20files=20more?= =?utf8?q?=20const-correct.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- xmlgeneric.c | 2 +- xmlgeneric.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlgeneric.c b/xmlgeneric.c index cef070833..8fcbfc3d8 100644 --- a/xmlgeneric.c +++ b/xmlgeneric.c @@ -131,7 +131,7 @@ xml_fill_in_time(char *time_string, const time_t timep, int microseconds, int lo } void -xml_write_time(gbfile *ofd, const time_t timep, int microseconds, char *elname) +xml_write_time(gbfile *ofd, const time_t timep, int microseconds, const char *elname) { char time_string[64]; xml_fill_in_time(time_string, timep, microseconds, XML_LONG_TIME); diff --git a/xmlgeneric.h b/xmlgeneric.h index 99b1f5c09..79fa84a2f 100644 --- a/xmlgeneric.h +++ b/xmlgeneric.h @@ -50,7 +50,7 @@ void write_xml_entity_end(gbfile *ofd, const char *indent, const char *tag); void write_optional_xml_entity(gbfile *ofd, const char *indent, const char *tag, const char *value); -void xml_write_time(gbfile *ofd, const time_t timep, int microseconds, char *elname); +void xml_write_time(gbfile *ofd, const time_t timep, int microseconds, const char *elname); void xml_fill_in_time(char *time_string, const time_t timep, int microseconds, int long_or_short); void write_xml_header(gbfile *ofd); -- 2.30.2